package site.ruyi.devclient.client.zookeeper.impl.DO;

import site.ruyi.devclient.client.zookeeper.ZookeeperTreeNode;

public class ZookeeperPathTreeNode extends ZookeeperTreeNode{

	private String path;
	private String name;

	public ZookeeperPathTreeNode(String path,String name) {
		this(path,name,false);
	}
	
	public ZookeeperPathTreeNode(String path,String name,boolean leaf) {
		this.path = path;
		this.name = name;
		this.setText(name);
		this.setLeaf(leaf);
	}
	
	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
